<%@ page contentType="text/html;charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
		<title>公寓楼显示</title>
		<link rel="stylesheet"
			href="<%=request.getContextPath()%>/css/common.css" type="text/css" />

	</head>
	<body>
		<div id="page_container" style="height:auto;">
			<div>
				<a href="<%=request.getContextPath()%>/aptmgr/listDormByApartmentid.action?apartmentid=-1">高级搜索 >></a>
			</div>
			<!-- 循环显示宿舍情况div -->
			<div id="aptiterator">
				<s:iterator value="aptList">
					<div class="apartment" >
						<a href="<%=request.getContextPath()%>/aptmgr/listDormByApartmentid.action?apartmentid=${apartmentid}">
								<img
								src="<%=request.getContextPath()%>/images/boyapt/b1.jpg" 
								style="border:1px  solid white"
								onmouseover="this.style.border='1px groove black'"
								
								onmouseout="this.style.border='1px  solid white'" 
								width="120px" height="120px" 
								/>
						 </a>
						<div >
							<s:property value="apartmentname" />
							<br />
							总入住人数为：
							<s:property value="apartmenttotalrooms" />
							<br />
							可入住人数为：
							<s:property value="apartmentavailrooms" />
						</div>
					</div>
				</s:iterator>
			</div>
			<!-- 循环显示宿舍情况div结束 -->
		</div>
	</body>
</html>